<h1>Editing <%= @scaffold_singular_name %></h1>
<%= error_messages_for(@scaffold_singular_name) %>
<%= form(@scaffold_singular_name, :url => @scaffold_model_path.call(instance_variable_get("@#{@scaffold_singular_name}")), :method => :put) %>

<%= link_to 'Show', @scaffold_model_path.call(instance_variable_get("@#{@scaffold_singular_name}")) %> |
<%= link_to 'Back', @scaffold_model_path.call %>